LANG := "rust"

# initial codebase
init: 
    just init-{{LANG}}

init-rust:
    echo "Rust has nothing to install"

init-typescript:
    cd typescript && pnpm install

# test
test:
    just test-{{LANG}}

test-rust:
    cd rust && cargo test

test-typescript:
    cd typescript && pnpm run test

# check
check:
    just check-{{LANG}}

check-rust:
    cd rust && cargo clippy

check-typescript:
    cd typescript && pnpm run lint